﻿using ZilLion.Service.Core.DapperWrapper;
using ZilLion.Service.ZilLionOss.Domain.Entitys;

namespace ZilLion.Service.ZilLionOss.Domain.Repositorys.Interface
{
    public interface IOssUserPwdRepository : IRespository
    {
        OssUserPwdEntity GetPwdEntity(string username);
        void SavePwd(OssUserPwdEntity entity, UnitOfWork unit = null);
        OssUserPwdEntity GetPwdEntity(long userid);
        void DeleteUser(long userid, UnitOfWork unitOfWork = null);
    }
}